package com.sunny.design.observer.guava;

import com.google.common.eventbus.EventBus;

/**
 * @author Sunny
 * @date 2020/1/15
 */
public class GuavaEventTest {

    public static void main(String[] args) {
        EventBus eventBus = new EventBus();
        eventBus.register(new GuavaEvent());
        eventBus.post("Sunny");
    }
}
